package com.topone.Converter;

import com.topone.Form.BussinessForm;
import com.topone.dataObject.Bussiness;
import org.springframework.beans.BeanUtils;

/**
 * Created by Administrator on 2017/12/17,0017.
 */
public class BussinessForm2OBussinessDTOConvert {

    public static Bussiness convert(BussinessForm bussinessForm){

        Bussiness bussiness=new Bussiness();
        BeanUtils.copyProperties(bussinessForm,bussiness);
        return bussiness;
    }
}
